package com.lovo.homework7_7;

import java.util.Arrays;

public class Thousandth {//不会
    public static void main(String[] args) {
        Double money = 115616.12;//115,616.12
        String[] str=money.toString().split("");
        System.out.println(Arrays.toString(str));
        int num = 0;
        for (int i = 0; i < str.length; i++) {
            if (str[i].equals(".")){
                num=i;
                break;
            }
        }
        for (int i = 0; i < str.length; i++) {//6
            if (i<num){

            }
        }
    }
}
